package local.blueheart.data.springdatademo.util.mht;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

@Data
@ToString
@EqualsAndHashCode
public class MHTAttachmentInfo implements Serializable {

    private String innerUrl;

    private String absoluteUrl;

    private String downloadUrl;

    //script,a,css,image
    private String attachmentType;


    public MHTAttachmentInfo(){}

    public MHTAttachmentInfo(String innerURL, String absoluteURL, String downloadURL, String type) {
        this.innerUrl = innerURL;
        this.absoluteUrl = absoluteURL;
        this.downloadUrl = downloadURL;
        this.attachmentType = type;
    }
}
